﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class Rshows : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //DataClassesDataContext ds = new DataClassesDataContext();

        if (Request.QueryString["search"] != "")
        {
            //var v = from s in ds.ResultsShows
            //         where s.Result_TypeID == int.Parse(Request.QueryString["typeID"].ToString())
            //         select s;
            GridView1.DataSource = null;
            GridView1.DataBind();
        }
        else
        {
            //var v = from s in ds.ResultsShows
            //          where s.Result_TypeID == int.Parse(Request.QueryString["typeID"].ToString()) &&
            //          s.RollNo == Request.QueryString["search"].ToString()
            //          select s;
            GridView1.DataSource = null;
            GridView1.DataBind();
        }


    }
}
